package com.zhihui.client.alarm.service;

import com.zhihui.client.alarm.common.Lay;
import com.zhihui.client.alarm.common.Msg;
import com.zhihui.client.alarm.entity.Monitorpoint;

/**
 * 服务接口
 * @author zhihuian
 * @email 18037017565@163.com
 * @date 2018/10/29
 */
public interface MonitorpointService {
     /**
      * 添加
      * @param monitorpoint 实体
      * @return
      */
     Msg addMonitorpoint(Monitorpoint monitorpoint);

     /**
      * 修改
      * @param monitorpoint 实体
      * @return
      */
     Msg updateMonitorpoint(Monitorpoint monitorpoint);

     /**
      * 删除
      * @param monitorpoint 实体
      * @return
      */
     Msg delMonitorpoint(Monitorpoint monitorpoint);

     /**
      * 获取
      * @param monitorpoint 实体
      * @param page 当前页数
      * @param limit 显示条数
      * @return
      */
     Lay getMonitorpoints(Monitorpoint monitorpoint, Integer page, Integer limit);
}
